package com.ffapp.demo.eventbus;

import com.ffapp.demo.bean.WarnInfoData;

public class RefreshList {

    public String whoRefresh;

    public static RefreshList getInstance(String whoRefresh) {
        return new RefreshList(whoRefresh);
    }

    private RefreshList(String whoRefresh) {
        this.whoRefresh = whoRefresh;
    }



    public String longitude;
    public String latitude;
    public static RefreshList getInstance(String whoRefresh,String latitude,String longitude) {
        return new RefreshList(whoRefresh,latitude,longitude);
    }

    private RefreshList(String whoRefresh,String latitude,String longitude) {
        this.whoRefresh = whoRefresh;
        this.latitude = latitude;
        this.longitude = longitude;
    }

    public WarnInfoData warnInfoData;
    public static RefreshList getInstance(String whoRefresh,WarnInfoData warnInfoData) {
        return new RefreshList(whoRefresh,warnInfoData);
    }

    private RefreshList(String whoRefresh,WarnInfoData warnInfoData) {
        this.whoRefresh = whoRefresh;
        this.warnInfoData = warnInfoData;
    }


}
